package com.zhz.model.system.contract.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author zhouhengzhe
 * @date 2023/3/21
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class RoleDTO {
    private String id;
    /**
     * 权限名称
     */
    private String name;

    /**
     * 说明
     */
    private String description;

    /**
     * 企业id
     */
    private String companyId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建人编码")
    private String creatorCode;

    @ApiModelProperty("更新人")
    private String updater;

    @ApiModelProperty("更新人编码")
    private String updaterCode;

}